﻿namespace com.vs.General
{
    using System;

    public class LicenseKeyConstants
    {
        public static int _BASIC = 10;
        public static double dDEFAULT_EXPIREDAYS = 15.0;
        public static int iDEFAULT_NUM_USERS = 0x270f;
        public static int iDEFAULTPERCENTAGE = 0;
        public static int iKEY_BIOS_SERIAL_NUM = 0;
        public static int iKEY_CREATION_DATE = 6;
        public static int iKEY_EXPIRATION_ACTION = 4;
        public static int iKEY_EXPIRATION_DATE = 3;
        public static int iKEY_LICENSE_TYPE = 7;
        public static int iKEY_MACHINE_NAME = 1;
        public static int iKEY_MODULES = 5;
        public static int iKEY_NUMBER_OF_USERS = 2;
        public static int iNUM_MODULES = 10;
        public static string stCOLON = ":";
        public static string stCOMMA = ",";
        public static string stCONFIG_IV_NODE = "ManhSecurity/IV";
        public static string stCONFIG_SECURITYKEY_NODE = "ManhSecurity/SecurityKey";
        public static string stDEFAULT_BIOS_SERIAL_NUM = "1234567";
        public static string stDEFAULT_FILE = "DefaultLicenseKey";
        public static string stDEFAULT_MACHINE_NAME = "DEFAULTMACNAME";
        public static string stDODELIM = "\x001e";
        public static string stEXPIRATIONACTIONCONTINUE = "Continue";
        public static string stEXPIRATIONACTIONHALT = "Halt";
        public static string stHYPEN = "-";
        public static string stLICENSE_FILE_DIRECTORY = "SCV_APP";
        public static string stLICENSE_FILE_EXT = "licx";
        public static string stLICENSEKEYBIOSSERIALNUM = "BIOS Serial Num";
        public static string stLICENSEKEYCREATIONDATE = "Creation Date";
        public static string stLICENSEKEYEXPIRATIONACTION = "Expiration Action";
        public static string stLICENSEKEYEXPIRATIONDATE = "Expiration Date";
        public static string stLICENSEKEYLICENSETYPE = "License Type";
        public static string stLICENSEKEYMACHINENAME = "Machine Name";
        public static string stLICENSEKEYMODULES = "Modules";
        public static string stLICENSEKEYNUMBEROFUSERS = "Number of Users";
        public static string stLICENSEKEYPERCENTAGEOFUSERS = "Percentage of Users Beyond";

        public enum LicenseKeyType
        {
            None,
            ConcurrentUser,
            NamedUser
        }
    }
}

